public class PIC16F84 {
    // registers
    static final int _W = 0;
    static final int _F = 1;
    static final int _TMR0 = 1;
    static final int _PCL = 2;
    static final int _STATUS = 3;
    static final int _FSR = 4;
    static final int _PORTA = 5;
    static final int _PORTB = 6;
    static final int _EEDATA = 8;
    static final int _EEADR = 9;
    static final int _PCLATH = 10;
    static final int _INTCON = 11;
    static final int _OPTION = 0x81;
    static final int _TRISA = 0x85;
    static final int _TRISB = 0x86;
    static final int _EECON1 = 0x88;
    static final int _EECON2 = 0x89;

    static final int _C = 0;
    static final int _Z = 2;

    public PIC16F84() {
	_initline("\tlist\tp=pic16f84a, r=dec");

	_initline("\torg\t0");
	_initline("\tgoto\t_start");
	_initline("\torg\t4");
	_initline("\tgoto\tinterrupt");

	_initline("_STATUS\tequ\t3");
	_initline("_C\tequ\t0");
	_initline("_Z\tequ\t2");
	_initline("_PCL\tequ\t2");
	_initline("_PCLATH\tequ\t10");

	_memory(0x0c, 0x4f);
	_heap(0x4f);
	_clock(20000);
	_banksize(128);
    }

    static void _setMemory(int address, int value) {
    }
    static int _getMemory(int address) {
	return 0;
    }

    static void _asm(String s) {
    }

    static void _initline(String line) {
    }
    static void _clock(int speed) {
    }
    static void _heap(int address) {
    }
    static void _memory(int start, int stop) {
    }
    static void _banksize(int len) {
    }
}





